//#define __DEBUG__
// by Xeno
#define THIS_FILE "fn_movemarker.sqf"
#include "xr_macros.sqf"

private ["_unit", "_pos", "_mname", "_unitstr"];
PARAMS_1(_unit);
if (!alive _unit) exitWith {};
_unitstr = str _unit;
_mname = _unitstr + __xrdead;
_pos = _this select 1;
__TRACE_2("","_mname","_pos");
_mname setMarkerPosLocal _pos;